<?php

use Illuminate\Database\Seeder;

class UsersTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        // DB::table('users')->insert([
        //     'name' => str_random(10),
        //     'email' => str_random(10).'@gmail.com',
        //     'password' => bcrypt('secret'),
        //     'openid' => str_random(32),
        //     'nickname' => str_random(10),
        // ]);

        // factory(App\Models\User::class, 50)->create()->each(function ($u) {
        //     $u->address()->save(factory(App\Models\UserAddress::class)->make());
        //     $u->envelope()->save(factory(App\Models\UserEnvelope::class)->make());
        // });
    }
}
